﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominion.Core;

namespace Dominion.Core.Factories
{
    public static class SupplyFactory
    {
      
        public static Supply Default
        {
            get
            {
                Supply cartes = new Supply();

                int nbCopper = 7;
                nbCopper.Foreach( x => cartes.Deck.Add(CardFactory.CreateCopper()));

                int nbEstate = 3;
                nbEstate.Foreach(x => cartes.Deck.Add(CardFactory.CreateEstate()));

                cartes.Deck.Shuffle();
                return cartes;
            }
        }
    }
}
